3.1122 \(\int x^4 \left (a+b x^2+c x^4\right )^p \, dx\)

Optimal. Leaf size=138 \[ \frac{1}{5} x^5 \left (\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}+1\right )^{-p} \left (\frac{2 c x^2}{\sqrt{b^2-4 a c}+b}+1\right )^{-p} \left (a+b x^2+c x^4\right )^p F_1\left (\frac{5}{2};-p,-p;\frac{7}{2};-\frac{2 c x^2}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}\right ) \]

[Out]

(x^5*(a + b*x^2 + c*x^4)^p*AppellF1[5/2, -p, -p, 7/2, (-2*c*x^2)/(b - Sqrt[b^2 -
 4*a*c]), (-2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])])/(5*(1 + (2*c*x^2)/(b - Sqrt[b^2 -
 4*a*c]))^p*(1 + (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c]))^p)

_______________________________________________________________________________________

Rubi [A]  time = 0.34518, antiderivative size = 138, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111 \[ \frac{1}{5} x^5 \left (\frac{2 c x^2}{b-\sqrt{b^2-4 a c}}+1\right )^{-p} \left (\frac{2 c x^2}{\sqrt{b^2-4 a c}+b}+1\right )^{-p} \left (a+b x^2+c x^4\right )^p F_1\left (\frac{5}{2};-p,-p;\frac{7}{2};-\frac{2 c x^2}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}}\right ) \]

Antiderivative was successfully verified.

[In]  Int[x^4*(a + b*x^2 + c*x^4)^p,x]

[Out]

(x^5*(a + b*x^2 + c*x^4)^p*AppellF1[5/2, -p, -p, 7/2, (-2*c*x^2)/(b - Sqrt[b^2 -
 4*a*c]), (-2*c*x^2)/(b + Sqrt[b^2 - 4*a*c])])/(5*(1 + (2*c*x^2)/(b - Sqrt[b^2 -
 4*a*c]))^p*(1 + (2*c*x^2)/(b + Sqrt[b^2 - 4*a*c]))^p)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 26.1896, size = 116, normalized size = 0.84 \[ \frac{x^{5} \left (\frac{2 c x^{2}}{b - \sqrt{- 4 a c + b^{2}}} + 1\right )^{- p} \left (\frac{2 c x^{2}}{b + \sqrt{- 4 a c + b^{2}}} + 1\right )^{- p} \left (a + b x^{2} + c x^{4}\right )^{p} \operatorname{appellf_{1}}{\left (\frac{5}{2},- p,- p,\frac{7}{2},- \frac{2 c x^{2}}{b - \sqrt{- 4 a c + b^{2}}},- \frac{2 c x^{2}}{b + \sqrt{- 4 a c + b^{2}}} \right )}}{5} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**4*(c*x**4+b*x**2+a)**p,x)

[Out]

x**5*(2*c*x**2/(b - sqrt(-4*a*c + b**2)) + 1)**(-p)*(2*c*x**2/(b + sqrt(-4*a*c +
 b**2)) + 1)**(-p)*(a + b*x**2 + c*x**4)**p*appellf1(5/2, -p, -p, 7/2, -2*c*x**2
/(b - sqrt(-4*a*c + b**2)), -2*c*x**2/(b + sqrt(-4*a*c + b**2)))/5

_______________________________________________________________________________________

Mathematica [B]  time = 3.43206, size = 457, normalized size = 3.31 \[ \frac{7 c 2^{-p-2} x^5 \left (\sqrt{b^2-4 a c}+b\right ) \left (x^2 \left (\sqrt{b^2-4 a c}-b\right )-2 a\right )^2 \left (\frac{b-\sqrt{b^2-4 a c}}{2 c}+x^2\right )^{-p} \left (\frac{-\sqrt{b^2-4 a c}+b+2 c x^2}{c}\right )^{p+1} \left (a+b x^2+c x^4\right )^{p-1} F_1\left (\frac{5}{2};-p,-p;\frac{7}{2};-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}},\frac{2 c x^2}{\sqrt{b^2-4 a c}-b}\right )}{5 \left (\sqrt{b^2-4 a c}-b\right ) \left (\sqrt{b^2-4 a c}+b+2 c x^2\right ) \left (p x^2 \left (\left (\sqrt{b^2-4 a c}-b\right ) F_1\left (\frac{7}{2};1-p,-p;\frac{9}{2};-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}},\frac{2 c x^2}{\sqrt{b^2-4 a c}-b}\right )-\left (\sqrt{b^2-4 a c}+b\right ) F_1\left (\frac{7}{2};-p,1-p;\frac{9}{2};-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}},\frac{2 c x^2}{\sqrt{b^2-4 a c}-b}\right )\right )-7 a F_1\left (\frac{5}{2};-p,-p;\frac{7}{2};-\frac{2 c x^2}{b+\sqrt{b^2-4 a c}},\frac{2 c x^2}{\sqrt{b^2-4 a c}-b}\right )\right )} \]

Warning: Unable to verify antiderivative.

[In]  Integrate[x^4*(a + b*x^2 + c*x^4)^p,x]

[Out]

(7*2^(-2 - p)*c*(b + Sqrt[b^2 - 4*a*c])*x^5*((b - Sqrt[b^2 - 4*a*c] + 2*c*x^2)/c
)^(1 + p)*(-2*a + (-b + Sqrt[b^2 - 4*a*c])*x^2)^2*(a + b*x^2 + c*x^4)^(-1 + p)*A
ppellF1[5/2, -p, -p, 7/2, (-2*c*x^2)/(b + Sqrt[b^2 - 4*a*c]), (2*c*x^2)/(-b + Sq
rt[b^2 - 4*a*c])])/(5*(-b + Sqrt[b^2 - 4*a*c])*((b - Sqrt[b^2 - 4*a*c])/(2*c) +
x^2)^p*(b + Sqrt[b^2 - 4*a*c] + 2*c*x^2)*(-7*a*AppellF1[5/2, -p, -p, 7/2, (-2*c*
x^2)/(b + Sqrt[b^2 - 4*a*c]), (2*c*x^2)/(-b + Sqrt[b^2 - 4*a*c])] + p*x^2*((-b +
 Sqrt[b^2 - 4*a*c])*AppellF1[7/2, 1 - p, -p, 9/2, (-2*c*x^2)/(b + Sqrt[b^2 - 4*a
*c]), (2*c*x^2)/(-b + Sqrt[b^2 - 4*a*c])] - (b + Sqrt[b^2 - 4*a*c])*AppellF1[7/2
, -p, 1 - p, 9/2, (-2*c*x^2)/(b + Sqrt[b^2 - 4*a*c]), (2*c*x^2)/(-b + Sqrt[b^2 -
 4*a*c])])))

_______________________________________________________________________________________

Maple [F]  time = 0.044, size = 0, normalized size = 0. \[ \int{x}^{4} \left ( c{x}^{4}+b{x}^{2}+a \right ) ^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^4*(c*x^4+b*x^2+a)^p,x)

[Out]

int(x^4*(c*x^4+b*x^2+a)^p,x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (c x^{4} + b x^{2} + a\right )}^{p} x^{4}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^4 + b*x^2 + a)^p*x^4,x, algorithm="maxima")

[Out]

integrate((c*x^4 + b*x^2 + a)^p*x^4, x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (c x^{4} + b x^{2} + a\right )}^{p} x^{4}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^4 + b*x^2 + a)^p*x^4,x, algorithm="fricas")

[Out]

integral((c*x^4 + b*x^2 + a)^p*x^4, x)

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**4*(c*x**4+b*x**2+a)**p,x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (c x^{4} + b x^{2} + a\right )}^{p} x^{4}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^4 + b*x^2 + a)^p*x^4,x, algorithm="giac")

[Out]

integrate((c*x^4 + b*x^2 + a)^p*x^4, x)